Public Partial Class WebForm2
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Private Sub updpnlContent_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles updpnlContent.Load
        If IsPostBack Then
            TextBox1.Text = Now.ToString
        End If
    End Sub
End Class